IPv4 and IPv6 Addresses(IPv4和IPv6的地址) <<
Previous Next >> IPv4 Address Classes(IPv4網址類別)
IPv4 Addressing(IPv4編址)
Addressing Notation(編址符號)
英.Internet protocol (IP) networking relies on both an IP address and subnet mask using a 32-bit dotted decimal notation. The Internet Engineering Task Force (IETF) and the Internet Corporation for Assigned Names and Numbers (ICANN) developed and maintains the standards for IP allocation and protocols.
While the following IP address and subnet mask looks like a regular decimal number separated by periods:
1.
168.1.1
2.
255.255.255.0
The computer sees the binary:
1.
11000000.10101000.00000001.00000001
2.
11111111.11111111.11111111.00000000
Each octet is made up of eight bits (one byte or two nibbles); multiplied by four octets, that equals 32 bits. The maximum value for any octet is 255 (28-1) so therefore the maximum number of IPv4 addresses available is 232, which equals 4,294,967,296 unique addresses.
The presence of the subnet mask tells networking devices how much of the IP address belongs to the network and how much to the host. The 255.255.255.0 subnet represents that the first three octets are the network and the “0” represents the available number of hosts (nodes). So, the form is N.N.N.H. Think of the combination of IP and subnet as similar to regular postal addresses. You need a zip code (subnet) and street address (host).
There are five different classes in IPv4 labelled A through E, with classes A, B, and C used by computer networks and classes D and E reserved as experimental. As originally designed, the IP range is determined by the lead bits in the first octet and matched to one specific subnet mask. This is called "classful" addressing. When the IP class does not match the default subnet mask, it is called "classless."
ˊ中.Internet協議(IP)網絡使用32位點分十進製表示法依賴IP地址和子網掩碼。互聯網工程任務組(IETF)和互聯網名稱與數字地址分配機構(ICANN)制定並維護了IP分配和協議的標準。
以下IP地址和子網掩碼看起來像是一個普通的十進制數字,中間用句點分隔:
1.
168.1.1
2.
255.255.255.0
計算機看到二進製文件:
1.
11000000.10101000.00000001.00000001
2.
11111111.11111111.11111111.00000000
每個八位位組由八位(一個字節或兩個半字節)組成;乘以四個八位位組,等於32位。任何八位位組的最大值為255(28-1),因此,可用的IPv4地址的最大數量為232,等於4,294,967,296個唯一地址。
子網掩碼的存在告訴網絡設備多少IP地址屬於網絡,多少屬於主機。 255.255.255.0子網表示前三個八位位組是網絡,“ 0”表示可用的主機(節點)數。因此,表格為N.N.N.H.可以將IP和子網的組合視為類似於常規郵政地址。您需要一個郵政編碼(子網)和街道地址(主機)。
IPv4中有五種不同的類別,標記為A到E,計算機網絡使用的類別為A,B和C,D和E的類別保留為實驗用。按照最初的設計,IP範圍由第一個八位位組中的前導位確定,並與一個特定的子網掩碼匹配。這稱為“有類”編址。如果IP類與默認子網掩碼不匹配,則稱為“無類”。
英.Network and Host Addresses(網絡和主機地址)
An IPv4 network address is further divided into two portions based upon the subnet mask: the network portion and the host portion. A subnet mask is a series of numbers used for routing traffic within a subnetwork. When a subnet mask is used to define the network portion, anywhere there is a binary “11111111” (or 255 in decimal) used, this area is considered part of the network portion. When a binary “00000000” (0 in decimal) is used, this represents the host portion of the address. The host represents a single device on the network, such as your computer or phone.
中.IPv4網絡地址根據子網掩碼進一步分為兩部分:網絡部分和主機部分。 子網掩碼是用於在子網內路由流量的一系列數字。 當使用子網掩碼定義網絡部分時,在任何使用二進制“ 11111111”(或十進制255)的地方,該區域均被視為網絡部分的一部分。 當使用二進制“ 00000000”(十進制為0)時,它表示地址的主機部分。 主機代表網絡上的單個設備,例如您的計算機或電話。
IPv4 and IPv6 Addresses(IPv4和IPv6的地址) <<
Previous Next >> IPv4 Address Classes(IPv4網址類別)